import 'package:json_annotation/json_annotation.dart';

import 'ValleyCircleReply.dart';


part 'ValleyCircleComment.g.dart';

@JsonSerializable()
class ValleyCircleComment {
  ValleyCircleComment();

  int? id;
  int? postId;
  String? userId;
  String? content;
  String? createTime;
  int? replyCount;
  int? likeCount;
  String? userName;
  String? userImgUrl;
  bool? like;
  List<ValleyCircleReply>? replyList;
  
  factory ValleyCircleComment.fromJson(Map<String,dynamic> json) => _$ValleyCircleCommentFromJson(json);
  Map<String, dynamic> toJson() => _$ValleyCircleCommentToJson(this);
}
